import React from 'react'
import { render } from 'react-dom'
import { Router, Route, hashHistory } from 'react-router'

import App from './src/App'
import HelloWorld from './src/helloworld/HelloWorld'
import Gallery from './src/gallery/Gallery'

import './index.css'

render((
    <Router history={hashHistory}>
        <Route path="/" component={App}>
            <Route path="/helloworld" component={HelloWorld}/>
            <Route path="/gallery" component={Gallery}/>

        </Route>
    </Router>
), document.getElementById('app'))
